VT-d: change RHSA structure to be consistent with spec
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 25 Mar 2010 07:43:09 +0000 (07:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 25 Mar 2010 07:43:09 +0000 (07:43 +0000)
'Reserved' field is missed in current RHSA structure, and move the
'proximity domain' field to the bottom. In addition, fix some indent
issues.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/include/xen/acpi.h

index 63d2ff0df578fe486da3b89066048a8d83b70cb7..43b81536bf17bebf511c8b740b6045e37699a3a4 100644 (file)
@@ -213,22 +213,23 @@ struct acpi_table_drhd {
 struct acpi_table_rmrr {
        struct  acpi_dmar_entry_header header;
        u16     reserved;
-       u16     segment;
+       u16     segment;
        u64     base_address;
        u64     end_address;
 } __attribute__ ((packed));
 
 struct acpi_table_atsr {
-        struct  acpi_dmar_entry_header header;
-        u8      flags;
-        u8      reserved;
-        u16     segment;
+       struct  acpi_dmar_entry_header header;
+       u8      flags;
+       u8      reserved;
+       u16     segment;
 } __attribute__ ((packed));
 
 struct acpi_table_rhsa {
-        struct  acpi_dmar_entry_header header;
-        u32     proximity_domain;
-        u64     address; /* register base address for this drhd */
+       struct  acpi_dmar_entry_header header;
+       u32     reserved;
+       u64     address; /* register base address for this drhd */
+       u32     proximity_domain;
 } __attribute__ ((packed));
 
 enum acpi_dev_scope_type {